package ru.spb.osll.myfit.common;

import com.google.gwt.user.client.rpc.IsSerializable;

public class WikiText extends PageElement implements IsSerializable{
  
  private static final long serialVersionUID = -9216434161882027406L;
  
  private String m_wikiText;
  private String m_htmlText;
  
  public WikiText(){
    this("","");
  }
  
  public WikiText(String wikiText, String htmlText){
    m_wikiText = wikiText;
    m_htmlText = htmlText;
  }
  
  public String getWikiText(){
    return m_wikiText;
  }
  
  public String getHtmlText(){
    return m_htmlText;
  }
  
  public void setText(String wikiText, String htmlText){
    m_wikiText = wikiText;
    m_htmlText = htmlText;
  }

  @Override
  public PageElementType getType() {
    return PageElementType.WIKI_TEXT;
  }
}
